package cn.safeness.serviceimpl;


import cn.safeness.repo.AccountRepo;
import cn.safeness.service.AccountService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class AccountServiceImpl implements AccountService {

    @Autowired
    AccountRepo accountRepo;

    @Override
    public String login() {
        List<String> result = accountRepo.showTables();
        return result.toString();
    }

}
